package com.magicsoft.share.utils;

/**
 *
 * @author lyf
 * @date 2017/10/26/026
 */

public class Format {
    public static String hideMobilePhone4(String mobile_phone) {
        return mobile_phone.length() != 11?"手机号码不正确":mobile_phone.substring(0, 3) + "****" + mobile_phone.substring(7, 11);
    }
}
